Airwallex\Services\OrderService S

Total Complexity 35
Dependencies 10
Dependents 5
Total lines 265
Lines of code 200
Logical lines of code 77
Comment lines 44
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
setPaymentSuccess()
S
49 6 31
checkPendingTransactions()
S
51 6 26
getOrderByPaymentIntentId()
S
54 3 24
getRefundByAmountAndTime()
S
49 2 38
containsSubscription()
S
77 4 3
getAirwallexCustomerId()
S
64 3 11
getRefundIdByAirwallexRefundId()
S
56 2 22
getOrderByAirwallexRefundId()
S
59 2 15
setTemporaryOrderStateAfterDecline()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6
getPendingPaymentOrders()
S
64 1 12